package com.wwj.my_ummary.enmu;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
import lombok.ToString;

/**
 * @author wwj
 *
 * mybatis plus 通用枚举  示例
 *
 */
@Getter
@ToString
public enum DeleteEnum implements IEnum<Integer> {


    /**
     * woman: 枚举常量  女
     */
    zhen(0, "未删除"),
    /**
     * woman: 枚举常量  男
     */
    jia(1, "已删除");



    DeleteEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private final Integer value;
    @JsonValue
    private String desc;

}
